<template>
  <base-dialog v-bind="$attrs" v-on="$listeners"  title="查看文章"  width="90%" :is-view="true" top="15px">
    <scroll-panel height="calc(100vh - 200px)">
      <view-detail v-bind="$attrs" v-on="$listeners"></view-detail>
    </scroll-panel>
  </base-dialog>
</template>
<script>
import BaseDialog from "@/components/Common/BaseDialog";
import ScrollPanel from "../../../components/Common/ScrollPanel";
import ViewDetail from "../components/ViewDetail";
export default {
  components: {
    ViewDetail,
    ScrollPanel,
    BaseDialog,
  },
  props: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    submitForm() {
      this.$refs["addForm"].submitForm(this.close);
    },
    onOpen() {},
    onClose() {
      this.$refs["addForm"].resetForm();
    },
    close() {
      this.$emit("update:visible", false);
    }
  }
};
</script>
